
@import "../lib/animate.css";
@import "../lib/config.css";
.page {
    position: relative;
    background-color: #df204f;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.page > div {
    max-width: 48rem;
}
.page .page-inner {
    position: relative;
    width: 100%;
}
.page > .bg-view {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 100% !important;
    height: auto;
}
.page > .bg-view .bg-inner-view {
    width: 100%;
    max-width: 48rem;
}
.page > .bg-view .bg-inner-view > img {
    width: 100%;
    height: auto;
}
.title-view,
.btn-view,
.image-list,
.banner-view {
    width: 100%;
    height: auto;
}
.btn-view > img ,
.title-view > img ,
.image-list > img ,
.banner-view > img {
    width: 100%;
    height: auto;
}
/* mask-box */
.mask-box {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    max-width: 100% !important;
}
.mask-box > .bg-view {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}
.mask-box .inner-view {
    width: 100%;
}
.mask-box .inner-view > div {
    position: relative;
    z-index: 5;
    max-width: 38rem;
}

.form-view {
    width: 90vw;
    padding: 1rem;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 4px;
}
.form-view > .title {
    position: relative;
    padding: 0.2rem 1rem ;
    background-color: #c0153f;
    border: 0.2rem solid #df204f;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1rem;
    letter-spacing: 2px;
    color: #fff;
}
.form-view .input-view > .title.must::after {
    content: "*";
    color: red;
}
.form-view > .title::after ,
.form-view > .title::before {
    content: "";
    position: absolute;
    top: calc(.7rem - 1px);
    height: 2px;
    width: 2rem;
    background-color: #c0153f;
}
.form-view > .title::before {
    left: -2.6rem;
}
.form-view > .title::after {
    right: -2.6rem;
}
.form-view .info-view {
    width: 100%;
}
.form-view .info-view .input-view {
    padding: 1rem 0;
}
.form-view .info-view .input-view > .title {
    font-size: 1rem;
}
.form-view .info-view .input-view > .choose .vice {
    color: #888;
}
.form-view .info-view .input-view > .choose ,
.form-view .info-view .input-view > input {
    position: relative;
    width: 100%;
    font-size: 1rem;
    padding: 0.6rem 0;
    border-bottom: solid #ccc 1px;
}
.form-view .info-view .input-view > .choose > select {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    border-width: 0;
}
.form-view .agree-view {
    width: 100%;
    font-size: 0.6rem;
    padding: 1rem 0;
}
.form-view .agree-view .icon {
    flex-shrink: 0;
    width: 1.2rem;
    height:  1.2rem;
    line-height:  1.2rem;
    text-align: center;
    margin-right: 1rem;
}
.form-view .agree-view .icon-duoxuanjinyongzhuangtai {
    color: #379aff;
}
.form-view .btn {
    margin-top: 1rem;
    width: 100%;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    border-radius: 4px;
    background-color: #df204f;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 2px;
}

.over-view {
    position: relative;
    width: 100%;
    color: #fff;
}
.over-view > .title {
    font-size: 1.6rem;
    letter-spacing: 2px;
}
.over-view > .bg-view {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../images/end-bg.png) no-repeat;
    background-size: 100% auto;
}
.over-view > .info-view {
    margin-top: 20vh;
    width: calc(100% - 4rem);
    padding: 1.2rem;
    border-radius: 4px;
    box-sizing: border-box;
    min-height: 40vh;
    background-color: #ffd293;
    background: linear-gradient(140deg,#ffd896, #ff816c,#c13369,#5410c2);
}
.over-view > .vice {
    font-size: 0.8rem;
}
.over-view > .info-view > .title {
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 2px;
}
.over-view > .info-view > .vice {
    font-size: .7rem;
    letter-spacing: 1px;
}
.over-view > .info-view > .ticket > img {
    width: 100%;
    margin-top: 1.4rem;
}

.card-view {
    position: relative;
    width: 340px;
    max-width: calc(100% - 1rem) !important;
    padding: 2rem;
    box-sizing: border-box;
}
.card-view > .head-img {
    width: 100%;
    height: auto;
}
.card-view > .body-view {
    width: 100%;
    margin-top: -8px;
    border-radius: 8px;
    background-color: #e92710;
    padding: 1rem;
    box-sizing: border-box;
}
.card-view > .body-view > .inner-view {
    border: 2px solid #fff6cc;
    box-sizing: border-box;
    padding: 0.8rem;
    width: 100%;
    min-height: 20rem;
    border-radius: inherit;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2),
                inset 0 0 4px rgba(0, 0, 0, 0.2);
    background: linear-gradient(90deg,#e92710, #ff6145,#e92710);    
}
.card-view > .body-view .card-img {
    width: 100%;
}
.card-view > .body-view .rule-view {
    font-size: .6rem;
    color: #fff;
    opacity: .8;
    max-height: 100vw;
    overflow: scroll;
}
.card-view ol{
    width: 100%;
    list-style-type:none;
    counter-reset:sectioncounter;
    width:200px;
}
.card-view ol li:before {  
    content:counter(sectioncounter) "、";   
    counter-increment:sectioncounter;  
}

.game-view {
    width: 100vw;
    height: 100vh;
}
.game-view > .bg-view {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 1;
}
.game-view > .bg-view > img {
    width: 100%;
}
.game-view .score-board {
    position: absolute;
    left: 0;
    top:0;
    width: 100%;
    color: #fff;
    padding: 1rem;
    box-sizing: border-box;
    z-index: 1;
}
.game-view .score-board > div {
    min-width: 3.2rem;
}
.game-view .score-board .name {
    font-size: 0.8rem;
}
.game-view .score-board .num {
    margin-top: .4rem;
    font-size: 1.6rem;
    letter-spacing: 2px;
}
.game-view .cont-view {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.game-view .cont-view .gift-list {
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
.game-view .cont-view .gift-list > .gift {
    position: absolute;
    width: 40px;
    height: 60px;
    opacity: 0;
}
.game-view .cont-view .gift-list > .gift > img {
    width: 100%;
    height: auto;
}
@keyframes islip {
    0%{
        opacity: 0;
        top: -60px;
    }
    10%{
        opacity: 1;
        top: calc(10vh -60px);
    }
    100% {
        opacity: 1;
        top: calc(100vh - 60px);
    }
}

.game-view .cont-view .start-btn {
    position: absolute;
    left: calc(50% - 50px);
    top: calc(50% - 50px);
    z-index: 2;
    width: 100px;
    height: 100px;
    text-align: center;
    line-height: 100px;
    font-size: 2rem;
    color: #fff;
    letter-spacing: 2px;
    border-radius: 50%;
    background-color: #ffcc00;
    box-shadow: 0 0 4px 4px #c72323;
}
/* tada */
.zoomOut {
    animation:izoomIn .8s;
    -webkit-animation:izoomIn .8s;
}
@-webkit-keyframes izoomIn{
    0%{opacity:1}
    50%{opacity:0;-webkit-transform:scale3d(1.52,1.52,1.52);transform:scale3d(1.52,1.52,1.52)}to{opacity:0}
}
@keyframes izoomIn{
    0%{opacity:1}
    50%{opacity:0;-webkit-transform:scale3d(1.52,1.52,1.52);transform:scale3d(1.52,1.52,1.52)}to{opacity:0}
}
.izoomIn{-webkit-animation-name:izoomIn;animation-name:izoomIn}

.mask-box .close-btn {
    position: absolute;
    right: 1.2rem;
    top: 1.2rem;
    color: #fff;
    font-weight: bold;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    font-size: 1rem;
    border-radius: 50%;
    border: solid 2px #fff;
    z-index: 8;
}

.istart{
    animation-play-state: running;
}
.istop{
    animation-play-state: paused;
}

.agrees-view {
    background-color: #fff;
    font-size: 0.8rem;
    width: 80vw;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 4px;
    line-height: 1.6rem;
    min-height: 50vh;
}
.agrees-view .btn {
    margin-top: 40px;
    width: 100%;
    height: 3rem;
    line-height: 3rem;
    font-size: 1rem;
    letter-spacing: 2px;
    color: #fff;
    background-color: #df204f;
    border-radius: 4px;
    text-align: center;
}